package top.infopub.job.fia.service.impl;

import java.math.BigDecimal;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.job.fia.dao.ProBudgetOfgroupDao;
import top.infopub.job.fia.service.ProBudgetOfgroupService;
import top.infopub.model.fia.ProBudgetOfgroup;

@Service
public class ProBudgetOfgroupServiceImpl extends GenericServiceImpl<ProBudgetOfgroup, String> implements
		ProBudgetOfgroupService {

	@Autowired
	private ProBudgetOfgroupDao proBudgetOfgroupDao;
	
	@Override
	public GenericDao<ProBudgetOfgroup, String> getDao() {
		return proBudgetOfgroupDao;
	}

    @Override
    public BigDecimal sumYearFinFeeOfArea(Map<String, Object> where) {
        return proBudgetOfgroupDao.sumYearFinFeeOfArea(where);
    }

    @Override
    public BigDecimal sumYearFinFeeOfSuper(Map<String, Object> where) {
        return proBudgetOfgroupDao.sumYearFinFeeOfSuper(where);
    }

    @Override
    public BigDecimal sumYearInvestOfArea(Map<String, Object> where) {
        return proBudgetOfgroupDao.sumYearInvestOfArea(where);
    }

    @Override
    public BigDecimal sumYearInvestOfSuper(Map<String, Object> where) {
        return proBudgetOfgroupDao.sumYearInvestOfSuper(where);
    }

    @Override
    public BigDecimal sumYearProfitOfArea(Map<String, Object> where) {
        return proBudgetOfgroupDao.sumYearProfitOfArea(where);
    }

    @Override
    public BigDecimal sumYearProfitOfSuper(Map<String, Object> where) {
        return proBudgetOfgroupDao.sumYearProfitOfSuper(where);
    }

}